home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / CtoBStr < prev    next >
Text File  |  1990-06-22  |  797b  |  67 lines

  1.  
  2.  
  3.  
  4.      CtoBStr(31.0)      ARP Programmers Manual     CtoBStr(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       CtoBStr - Copy a C null terminated string to a BSTR
  10.  
  11.      SYNOPSIS
  12.       Count    = CtoBStr("CString", BSTR, MaxLength)
  13.         d0              A0      D0      D1
  14.  
  15.      FUNCTION
  16.       This function    copies a null terminated string    into a BCPL
  17.       string.  The BCPL string is passed as    an unconverted icky
  18.       pointer.
  19.  
  20.      INPUTS
  21.       CString - pointer to the string to convert.
  22.  
  23.       BSTR - BPTR to the destination string.  This must be
  24.           MaxLength+1 Bytes in size.
  25.  
  26.       MaxLength - Number of    characters available in    BSTR (not
  27.           including initial count byte.)
  28.  
  29.      RESULT
  30.       Count    - actual number    of characters transferred.
  31.  
  32.      BUGS
  33.       None known.
  34.  
  35.      AUTHOR
  36.       CDH
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.